package com.wnm.service.impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.wnm.dao.OrderItemDao;
import com.wnm.pojo.OrderItem;
import com.wnm.service.OrderItemService;
import com.wnm.util.DBUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderItemServiceImpl implements OrderItemService{
	@Autowired
	OrderItemDao orderItemDao ;
	@Override
	public List<OrderItem> findByOrderid(int orderid) {
		List<OrderItem> orderItems=orderItemDao.findByOrderid(orderid);
		return orderItems;
	}

}
